attemps = 0
password = 123456
password1 = int(password)
while attemps < 3:
    pas1 = input("please add your password:")
    pas2 = int(pas1)
    if pas2 == password:
        print("Welcome ,sir.")
        break
    elif pas2 != password:
        print("Try again.")
        attemps += 1
    if attemps == 3:
        print("Your password have some mistakes,please try again in 5 mintues later.")
        import os
        os._exit(0)
import time
total_seconds =5*60
while total_seconds > 0:
    minutes, secs = 
divmod(total_seconds, 60)
     print(f'wait:{minutes}:{secs:02d}'，end= -=1)
   attemps1 = 0
Name2 = 'Mike'         
while attemps1 < 3:
    Name1 = input("what is your name")
    if Name1 == Name2:
        print(f"Welcome,{Name1}")
        break
    elif Name1 !=Name2 :
        print("There is some problem with your Name,Try again.")
        attemps1 += 1
    if attemps1 == 3:
        print("Please try again in 5 mintues later.")
        import os
        os._exit(0)
print(f"Welcome,{Name1},and good morning.")
Wei1 = input("Please add your weight in kg:")   
Wei2 = float(Wei1)
Hgh1 = input ("Please add your height in meters:")
Hgh2 = float(Hgh1)
BMI = Wei2/(Hgh2*Hgh2)
print(f"Hey {Name1},your BMI is {BMI:.2f}. ")
if BMI < 18.5:
    print("You are too light.")
if BMI>= 18.5 and BMI <24:
    print(f"Congratulations {Name1},your weight and height are perfect") 
if BMI>=24 and BMI < 28:
    print(f"Careful {Name1},your weight is a little bit heavy.")       
    
              
              
             
